package com.cdp.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cdp.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysEfficiencyMerchantName extends BaseEntity {

    @TableId(value = "merchant_name_id", type = IdType.AUTO)
    private Integer merchantNameId; // 来源ID

    @TableField("merchant_name")
    private String merchantName; // 商家名称

    //id
    @TableField("id")
    private String id;
    // 软删除时间
    @TableField("delete_time")
    private Date deleteTime;

    // 版本号
    @TableField("version")
    private Integer version;
}
